#ifndef CORE_H
#define CORE_H

#include <QObject>
#include "name_service.h"

class QUdpSocket;
class Core : public QObject
{
    Q_OBJECT
public:
    explicit Core(QObject *parent = 0);

    void getAllDevInfo();
signals:

public slots:
    void slotMulticastRead();
private:
    //data
    QList<reply_struct> m_hostReplyList,m_clientReplyList;
    //tools
    QUdpSocket *m_pUdpSocket;
};

#endif // CORE_H
